package cn.da.shuai.cool.ai.search.client;


import io.github.cdimascio.dotenv.Dotenv;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"cn.da.shuai.cool"})
public class RealSearchApplication {
    public static void main(String[] args) {
        Dotenv load = Dotenv.configure().ignoreIfMissing().load();
        load.entries().forEach(entry-> System.setProperty(entry.getKey(), entry.getValue()));
        SpringApplication.run(RealSearchApplication.class, args);
    }
}